    public function [FunName]($value, $data)
    {
        $value = $value ? $value : $data['[FieldName]'];
        $list = [TypeData];
        return isset($list[$value]) ? $list[$value] : '';
    }

